package com.mujin.keji.collectionsystem.module.outboundtask.repository;

import android.arch.lifecycle.LiveData;

import com.mujin.keji.collectionsystem.base.BaseDto;
import com.mujin.keji.collectionsystem.base.CommonRepository;
import com.mujin.keji.collectionsystem.http.Api;
import com.mujin.keji.collectionsystem.module.outboundtask.dto.LabelsDto;
import com.mujin.keji.collectionsystem.module.outboundtask.vo.LabelVo;

/**
 * 查询催记标签
 *
 * @author weishixiong
 * @Time 2018-05-21
 */

public class LabelsRepository extends CommonRepository<LabelsDto> implements ILabelsRepository {
    /**
     * 查询催记标签
     *
     * @param vo
     * @return
     */
    @Override
    public LiveData<BaseDto<LabelsDto>> queryLabels(LabelVo vo) {
        return request(Api.queryLabels(vo)).send().get();

    }

}
